Skip to content

Supply the Grundrente inputs the income tax needs from 2021 - #63

Merged
MImmesberger merged 5 commits into
mainfrom
grundrente-einkommen
Nov 18, 2026
Merged

MImmesberger merged 5 commits into
mainfrom
grundrente-einkommen

Conversation

@MImmesberger

@MImmesberger MImmesberger commented Oct 18, 2026 •

Copy link
Copy Markdown
Member

Companion to ttsim-dev/gettsim#1246. That PR makes the Grundrentenzuschlag tax-free (§ 3 Nr. 14a EStG). From 2021 the taxable pension therefore needs grundrente__betrag_m and bezieht_altersrente.

Six personas fix altersrente__betrag_m as a constant (grundsicherung_im_alter/* and gesetzliche_altersrente/*_with_fixed_public_pension). Computing the Zuschlag for them would take invented pension histories and would contradict the fixed total. So they set grundrente__betrag_m = 0, and set bezieht_altersrente per person: true for the retirees, false for the working-age child. All outputs for 2021–2025 are unchanged.

gettsim is pinned to main again. The full test suite passed against the head of ttsim-dev/gettsim#1246. Until that PR is merged (and pixi.lock picks it up), test_persona_inputs_does_not_contain_unnecessary_inputs fails here, because gettsim main does not need the two new inputs yet.

Personas with a fixed Altersrente set grundrente__betrag_m to 0 and
bezieht_altersrente explicitly. Pin gettsim to the branch of
ttsim-dev/gettsim#1246.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Oct 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

MImmesberger added a commit to ttsim-dev/gettsim that referenced this pull request Oct 18, 2026
Revert to main once that PR has been merged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@hmgaudecker hmgaudecker left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict

Approve. No changes requested.

What I checked

  • Against the current gettsim #1246 head. This PR locks gettsim b6d73de3; #1246 has since moved nine commits to 90f298c8, including a renamed income input and new threshold functions. I ran every persona for every policy year from 2021 against 90f298c8: 63 of 63 runs pass. Removing bezieht_altersrente from one persona makes the same run fail, so the check can detect a missing input.
  • Values. The six personas with a fixed altersrente__betrag_m get grundrente__betrag_m = 0 and bezieht_altersrente true for the retirees and false for the 40-year-old child. That is consistent with a fixed total pension.
  • The rename I asked for in #1246 (einkommen_vorjahr_m_ehe to einkommen_vorvorjahr_m_ehe) does not touch this PR: no persona supplies the Grundrente income input.

@MImmesberger
MImmesberger merged commit e03e77d into main Nov 18, 2026
2 of 5 checks passed
@MImmesberger
MImmesberger deleted the grundrente-einkommen branch November 18, 2026 20:55
MImmesberger added a commit to ttsim-dev/gettsim that referenced this pull request Nov 26, 2026
The Grundrente income test summed gross receipts. § 97a Abs. 2 S. 1 SGB
VI counts the zu versteuerndes Einkommen, plus the steuerfreier Teil of
pensions, plus Abgeltungsteuer capital income. Taking gross receipts
overstated the income by roughly the Vorsorgeaufwendungen, about 140
€/month less Zuschlag for a single pensioner with a 1,800 € pension.

**Approach.** The law uses the income of the vorvergangenes Kalenderjahr
(§ 97a Abs. 2 S. 2 SGB VI; the year before that if no tax assessment
exists, S. 3), so it can't be computed in the same run. It is now one
input at the couple level, `grundrente__einkommen_vorvorjahr_m_ehe`. A
run for that earlier year produces it through the per-person target
`grundrente__einkommen_für_einkommensanrechnung_im_übernächsten_jahr_y`,
summed over the spouses (`…_m_ehe`). This is the same two-run pattern as
Elterngeld, and a new how-to notebook shows it.

**Also fixed:**
- Thresholds are rounded up to full Euro and stay fixed for the calendar
year, using the Rentenwert of the previous 1 July (§ 97a Abs. 4 S. 1,
5).
- The Zuschlag is tax-free (§ 3 Nr. 14a EStG). From 2021, anyone who
supplies `einnahmen__renten__gesetzliche_m` as data also needs
`grundrente__betrag_m` and `bezieht_altersrente`.
- The 39.32 € Rentenwert had the date key `2024-01-07`; it is now
`2024-07-01` (reported in #1202, still wrong on `main`).

**Worth a look:**
- Not modelled: the t − 3 fallback of § 97a Abs. 2 S. 3 SGB VI (the user
passes the income of the right year), the fallback without tax data
(Abs. 2 S. 4), Versorgungsbezüge (#1247), the 1/10 rule for capital
income (#1248), and the fixed euro amount of the steuerfreier Teil of
pensions (GETTSIM approximates it via the Besteuerungsanteil).
- A negative zvE (only possible when supplied as data) offsets the other
components. Neither the statute nor the GRA addresses negative amounts.

Closes #919.

Follow-ups: ttsim-dev/gettsim-personas#63,
ttsim-dev/soep-preparation#107.

**Merge order.** ttsim-dev/gettsim-personas#63 needs this PR (its new
persona inputs are unnecessary on gettsim `main`) and this PR's docs
need it, so: merge it while it is pinned to this branch, re-pin
gettsim-personas here to `main` and relock, merge this PR, then point
gettsim-personas back at gettsim `main`.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants